/*
 ============================================================================
 Name		: FEAppUi.cpp
 Author	  : jk
 Copyright   : Your copyright notice
 Description : CFEAppUi implementation
 ============================================================================
 */
// INCLUDE FILES
#include <avkon.hrh>
#include <aknmessagequerydialog.h>
#include <aknnotewrappers.h>
#include <stringloader.h>
#include <f32file.h>
#include <s32file.h>
#include <hlplch.h>
#include <FE_0xE986B88E.rsg>
#include "FE_0xE986B88E.hlp.hrh"
#include "FE.hrh"
#include "FE.pan"
#include "FEApplication.h"
#include "FEAppUi.h"
#include "FEAppDriverView.h"
#include "FEAppDirView.h"
#include "FEAppEditerView.h"
_LIT( KFileName, "C:\\private\\E986B88E\\FE.txt" );
_LIT( KText, "by jk.");

// ============================ MEMBER FUNCTIONS ===============================


// -----------------------------------------------------------------------------
// CFEAppUi::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CFEAppUi::ConstructL()
{
	// Initialise app UI with standard value.
	BaseConstructL(CAknAppUi::EAknEnableSkin);

	iAppDriverView = CFEAppDriverView::NewL();
	AddViewL(iAppDriverView);
	iAppDirView = CFEAppDirView::NewL();
	AddViewL(iAppDirView);
	iAppEditerView = CFEAppEditerView::NewL();
	AddViewL(iAppEditerView);

	SetDefaultViewL(*iAppDriverView);

	iEikonEnv->InfoMsg(_L("Welcome!"));

}
// -----------------------------------------------------------------------------
// CFEAppUi::CFEAppUi()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CFEAppUi::CFEAppUi()
{
	// No implementation required
}

// -----------------------------------------------------------------------------
// CFEAppUi::~CFEAppUi()
// Destructor.
// -----------------------------------------------------------------------------
//
CFEAppUi::~CFEAppUi()
{
	/*
	 if (iAppView)
	 {
	 delete iAppView;
	 iAppView = NULL;
	 }
	 *///by jk.
}

// -----------------------------------------------------------------------------
// CFEAppUi::HandleCommandL()
// Takes care of command handling.
// -----------------------------------------------------------------------------
//
void CFEAppUi::HandleCommandL(TInt aCommand)
{
	/*switch (aCommand)
	 {
	 case EEikCmdExit:
	 case EAknSoftkeyExit:
	 Exit();
	 break;
	 
	 default:
	 Panic(EFEUi);
	 break;
	 }*/
}
// -----------------------------------------------------------------------------
//  Called by the framework when the application status pane
//  size is changed.  Passes the new client rectangle to the
//  AppView
// -----------------------------------------------------------------------------
//
void CFEAppUi::HandleStatusPaneSizeChange()
{
	//iAppDriverView->HandleClientRectChange();
}

// End of File
